package com.sgb.kjwl.view.ui;

import android.app.Activity;
import android.content.Context;

import com.bigkoo.pickerview.builder.OptionsPickerBuilder;
import com.bigkoo.pickerview.listener.OnOptionsSelectListener;

/**
 * 解决OptionsPickerBuilder被底部功能键覆盖的问题
 */
public class SinglePickBuilder extends OptionsPickerBuilder {
    public SinglePickBuilder(Context context, OnOptionsSelectListener listener) {
        super(context, listener);
        setDecorView(((Activity) context).getWindow().getDecorView().findViewById(android.R.id.content));
    }
}
